package com.flaremars.picker.utils;

import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Rect;

/**
 * Created by FlareMars on 2016/3/4.
 */
public enum DrawingManager {
    INSTANCE;

    public static final int HALF_BLACK = Color.parseColor("#aa000000");

    private Rect drawingRegion = new Rect();

    private Bitmap originBitmap;

    public Rect getDrawingRegion() {
        return drawingRegion;
    }

    public void setDrawingRegion(Rect region) {
        this.drawingRegion = region;
    }

    public Bitmap getOriginBitmap() {
        return originBitmap;
    }

    public void setOriginBtmap(Bitmap originBitmap) {
        this.originBitmap = originBitmap.copy(Bitmap.Config.ARGB_8888,false);
    }
}
